package function.waterMark;

/**
 * @author uiao
 * @Title: 测试水印生成效果
 * @date 2018/8/1714:41
 */
public class WaterMarkTest {
    public static void main(String[] args) {
        String baseImgPath = "C:\\Users\\Administrator\\Desktop\\waterMark\\房东分享海报@2x@2x.png"; // 源图片地址
        String backImgPath = "C:\\Users\\Administrator\\Desktop\\waterMark\\avatar.jpg"; // 背景图片地址
        String erweimaImgPath = "C:\\Users\\Administrator\\Desktop\\waterMark\\1536574924.png"; // 二维码图片地址
        String headImgPath = "C:\\Users\\Administrator\\Desktop\\waterMark\\avatar.jpg"; // 二维码图片地址
        String tarImgPath = "C:\\Users\\Administrator\\Desktop\\waterMark\\lllluuuuu.jpg"; //目的地址

        String storeName = "南安安";  //水印内容
        String storePhone = "13261201262";
        WaterMarkUtil.addWaterMark(baseImgPath, backImgPath, erweimaImgPath, headImgPath, storeName, storePhone, tarImgPath);
    }
}
